#ifndef MAINWIDGET_H
#define MAINWIDGET_H

#include <QWidget>

class DevicesForm;
class HeaderForm;
class IndividualDisplayForm;
class LayoutSettingsForm;
class LogForm;
class VideoWallForm;
class ToolsForm;
class LoginDialog;

class MainWidget : public QWidget
{
    Q_OBJECT

public:
    explicit MainWidget(QWidget *parent = 0);
    ~MainWidget();

    void run();
protected:
    void paintEvent(QPaintEvent *event);
private slots:
    void slotMenuSettings();
    void slotMenuHelp();
private:
    void initUI();
    void initConnects();

    DevicesForm *m_pDevicesForm;
    HeaderForm *m_pHeaderForm;
    IndividualDisplayForm*m_pIndividualDisplayForm;
    LayoutSettingsForm *m_pLayoutSettingsForm;
    LogForm *m_pLogForm;
    VideoWallForm *m_pVideoWallForm;
    ToolsForm *m_pToolsForm;
    LoginDialog *m_pLoginDialog;
};

#endif // MAINWIDGET_H
